﻿using System.ComponentModel.DataAnnotations;

namespace Traceability.App.Domain
{
    /// <summary>
    /// 溯源管理实体
    /// </summary>
    public class TraceabilityModel
    {
        [Key]
        public int Traceability_ID {  get; set; }
        /// <summary>
        /// 商品名称 
        /// </summary>
        public int Product_Name { get; set; }
        /// <summary>
        /// 生产批次（整个系统唯一） 
        /// </summary>
        public string Production_Batch { get; set; }
        /// <summary>
        /// 保质期（天） 
        /// </summary>
        public int Quality_Guarantee_Period { get; set; }
        /// <summary>
        /// 生产许可证号
        /// </summary>
        public string Production_License_Number { get; set; }
        /// <summary>
        /// 生产企业
        /// </summary>
        public string Manufacturing_Enterprise { get; set; }
        /// <summary>
        /// 封面图
        /// </summary>
        public string Cover_Image { get; set; }
        /// <summary>
        /// 删除标识符
        /// </summary>
        public bool Delete_Identifier { get; set; }
        /// <summary>
        /// 创建人
        /// </summary>
        public string CreateName { get; set; }
        /// <summary>
        /// 创建时间 
        /// </summary>
        public DateTime CreateTime { get; set; }
        /// <summary>
        /// 修改人 
        /// </summary>
        public string? UpdateName { get; set; }
        /// <summary>
        /// 修改时间 
        /// </summary>
        public DateTime? UpdateTime { get; set; }
        /// <summary>
        /// 信息完善度 
        /// </summary>
        public int Information_Completeness { get; set; }
       
    }
}
